package com.crayon.account;


import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTransaction;

import com.crayon.account.fragments.FragmentRGWrite;
import com.crayon.sharemenu.R;

public class ActivityCompose extends FragmentActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		if(getActionBar()!=null)getActionBar().hide();
		setContentView(R.layout.activity_compose);
		FragmentRGWrite fragment= FragmentRGWrite.onCreateInstance(getIntent().getExtras());
		FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
		ft.replace(R.id.item_container, fragment);
		ft.commit();
	}

}
